﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Spread.Master" AutoEventWireup="true" CodeBehind="Overview.aspx.cs" Inherits="ControlExplorer.samples.Paging.Overview" %>
<%@ Register Assembly="FarPoint.Web.Spread"
    Namespace="FarPoint.Web.Spread" TagPrefix="FarPoint" %>
<asp:Content ID="Content1" ContentPlaceHolderID="Head" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
  <div style="position: relative; width: 780px; height: 560px; overflow: hidden" class="orderentry">
    <br />
    <FarPoint:FpSpread ID="FpSpread1" runat="server" BorderColor="Gray" BorderStyle="Solid" 
      BorderWidth="1px" Height="366px" Width="770px">
      <Sheets>
        <FarPoint:SheetView SelectionBackColor="#EAECF5" GridLineColor="#D0D7E5" SheetName="Sheet1"></FarPoint:SheetView>
      </Sheets>
      <HierBar Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
        Font-Underline="False" />
      <Pager Font-Bold="False" Font-Italic="False" Font-Overline="False" Font-Strikeout="False"
        Font-Underline="False" />
    </FarPoint:FpSpread>
    <br />
    <asp:Label ID="Label7" runat="server" Height="24px" Width="549px" Font-Names="Verdana" Font-Bold="True"
      Font-Size="X-Small" ForeColor="Red">当位置设置为‘CommandBar’时，模式需要设合资为'Next/Prev' 。</asp:Label>
    <br />
    <b>设置 Pager:</b><br />
    <p style="margin-top: 5px;">
      通过以下工具条定制 Pager，点击“应用”按钮提交更改。
    </p>
    <asp:Panel ID="Panel1" runat="server" HorizontalAlign="Center" BackColor="LightBlue" BorderColor="Gray" BorderStyle="Solid" BorderWidth="1px">
      <table style="border-spacing: 1px; padding: 1px; width: 770px;">
        <tr>
          <td>对齐方式</td>
          <td>模式</td>
          <td>页大小</td>
          <td>位置</td>
          <td></td>
        </tr>
        <tr>
          <td>
            <asp:DropDownList ID="cbAlign" runat="server"></asp:DropDownList></td>
          <td>
            <asp:DropDownList ID="cbMode" runat="server"></asp:DropDownList></td>
          <td>
            <asp:DropDownList ID="cbPageCnt" runat="server"></asp:DropDownList></td>
          <td>
            <asp:DropDownList ID="cbPosition" runat="server"></asp:DropDownList></td>
          <td>
            <asp:Button ID="btnLoad" runat="server" Height="26px" Width="81px" Text="应用" OnClick="btnLoad_Click"></asp:Button></td>
        </tr>
      </table>
    </asp:Panel>
  </div>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="ControlOptions" runat="server">
</asp:Content>
